//Tpv-20181226 Create by zhongxiang.huang
$(function () {
	$("#meeting-wechart-invite .btn-close").click(function() {
	    $MB.closeModal("meeting-wechart-invite");
	});
});


 function openInviteWechart(meetingId){
	 $.get(ctx + "meeting/detail/" + meetingId, function(r) {
		 	var meeting = r.msg;
	        if(r.code == 0) {
	        	$("#meeting-wechart-invite-qrcode").attr("src", "data:image/png;base64," + meeting.inviteQrcode);
	        	$('#meeting-wechart-invite').modal();
	        } else {
	            $MB.n_danger(r.msg);
	        }
	 });
	 
	 
 }